<div class="html">
	<h1>Advanced Query Builder</h1>
	<h2>
	Table of contents </h2>
	<ol>
		<li>
		Overview </li>
		<li>
		Regions
		<ol>
			<li>
			General </li>
			<li>
			List Terms 
			<ol>
				<li>
				Type </li>
				<li>
				Property </li>
				<li>
				Condition
				<ol>
					<li>
					== </li>
					<li>
					!=</li>
				</ol>
				</li>
				<li>
				Value </li>
				<li>
				Boolean
				<ol>
					<li>
					OR </li>
					<li>
					AND</li>
				</ol>
				</li>
			</ol>
			</li>
		</ol>
		</li>
		<li>
		Grouping </li>
	</ol>
	<h2 id="overview">1. Overview</h2>
	<p>
		 The Advanced Query Builder or AQB is a tool designed to assist in creating complex requests on the corpus of data available. The driving force behind its creation was the ever expanding list of machine extracted entities that are tagged, registered and indexed by the tools search algorithms. Due to an ever changing list of tagged entities extracted a single search list is not possible. The creation of a dynamic search string builder that could properly list all available options was needed. 
	</p>
	<p>
		 This page provides an overview of the compoents of the AQB and will give examples on how to effectivly utilize them.
	</p>
	<p>
		 Before choosing to use the AQB, please consider the following:
		 <ol>
					<li>AQB is in an ALPHA state and will evolve over time</li>
					<li>Anything that the AQB builds can technically be typed directly into any General search box</li>
		</ol>
	</p>
	<h2 id="regions">2. Regions</h2>
	<ol>
		<li>General
			<p>
			The General search box is an open field that will accept any Lucene structured query terms. This will be applied to any itesm added in the List Terms field.
			</p>
		</li>
		<li>List Terms
			<p>
			The List Terms area is an attempt to give a flexible and helpfull method of adding entity based serch items to a query.
			</p>
			<ol>
				<li>
					Type
					<p>
					This is a visual identifier to denote if a line is a condition or grouping of conditions.
					</p>
				</li>
				<li>
					Property
					<p>
					The property is the extracted entity list created within the system. A drop down menue with type ahead functionality is available. The structure of the entity list is based on the structure provided by CCE.
					</p>
				</li>
				<li>
					Condition
					<p>
					The condition field has two options. Either '==' or equals and '!=' not equals.
					</p>
				</li>
				<li>
					Value
					<p>
					The value field is where the term being searched for based on the entity is place. This field is free text and can accept the * wildcard character.
					</p>
				</li>
				<li>
					Boolean
					<p>
					The boolean field is used when multiple conditions and or groups are used. The boolean is selected on each following condition to the first. 
					</p>
				</li>
			</ol>
		</li>
	</ol>
	<h2 id="grouping">3. Grouping</h2>
	<p>
	Grouping is handled via group objects that can be nested. Each condition can be dragged into a group and ordered however best suits the search criteria. 
	</p>
</div>